<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box1{
         width: 200px;
         height: 200px;
         border: 1px solid #000;
         text-align: center; 
         line-height: 200px;
         box-sizing: content-box;
         padding: 10px;
         margin: 10px;
         /* 文字阴影 */
         text-shadow: 10px 10px 10px rgb(104, 104, 59);
         /* 盒子阴影 */
         box-shadow: 10px 10px 10px 10px violet;
         /* 圆角边框 */
         /* border-radius: 50%; */
         /* 过渡 */
         transition: all 1s;
        }
        .box2{
        width: 200px;
        height: 200px;
        border: 1px solid #000;
        text-align: center;
        line-height: 200px;
        box-sizing: border-box;
        padding: 10px;
        margin: 10px;
        /* 文字阴影 */
        text-shadow: 10px 10px 10px  violet;
        }

        .box1:hover{
         width: 100px;
         height: 100px;
        }
    </style>
</head>
<body>
    <div class="box1">标准盒模型</div>
    <br>
    <div class="box2">怪异盒模型</div>
</body>
</html>